package cn.bankAutoOffice.service.impl;

import cn.bankAutoOffice.mapper.PerformanceMapper;
import cn.bankAutoOffice.service.PerformanceService;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.util.List;

@Service
public class PerformanceServiceImpl implements PerformanceService {
    @Resource
    public PerformanceMapper performanceMapper;
    @Override
    public List set() {

        return performanceMapper.set();
    }

    @Override
    public Integer ins(int id) {
        return performanceMapper.ins(id);
    }

    @Override
    public Integer setperformance(int id,int distributedsales) {
        return performanceMapper.setperformance(id,distributedsales);
    }

    @Override
    public Integer setoneselfsales(int id, int oneselfsales) {
        return performanceMapper.setoneselfsales(id,oneselfsales);
    }

    @Override
    public List blur(String empCode) {
        return performanceMapper.blur(empCode);
    }
}
